package com.example.cat_eye

import com.example.cat_eye.method_channel.MethodChannelPlugin
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine

class MainActivity: FlutterActivity() {

//    override fun onCreate(savedInstanceState: Bundle?) {
//        super.onCreate(savedInstanceState)
//        Log.i("szjActivity", "执行了!")
//    }

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
       MethodChannelPlugin.register(flutterEngine.dartExecutor, this)
    }
}
